import { ApiProperty } from "@nestjs/swagger";

export class CreateChatDto {

    @ApiProperty({
        description: 'The message to send',
        example: 'Create a button component'
    })
    message: string;

    @ApiProperty({
        description: 'The history to send',
        example: ''
    })
    history: Array<{ role: 'user' | 'assistant', content: string }>;
}
